GUI Help > Create > createPanel

createPanel
int handle=createPanel(int x, int y, int width, int height, handle parent)

Description:
Creates a panel gadget. Panels are simple frames used to contain and group other gadgets.

Return Value:
Handle to the new panel.

Parameters:
x X position of new gadget
y Y position of new gadget
width Width of new gadget in pixels
height Height of new gadget in pixels
parent Handle to the parent of the new gadget, or 0 for the main window
Remarks:


See Also:


Example:
(Note: You will need to include the GUI constants file for this example to work)